<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCADlib/subdivcontrolcurve.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f0b6ef187c5b1483641b038f81654ac4.html">ShipCADlib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">subdivcontrolcurve.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="subdivcontrolcurve_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*##############################################################################################</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *    ShipCAD                                                                                  *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *    Copyright 2015, by Greg Green &lt;ggreen@bit-builder.com&gt;                                   *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *    Original Copyright header below                                                          *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *    This code is distributed as part of the FREE!ship project. FREE!ship is an               *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *    open source surface-modelling program based on subdivision surfaces and intended for     *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *    designing ships.                                                                         *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    Copyright © 2005, by Martijn van Engeland                                                *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    e-mail                  : Info@FREEship.org                                              *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    FREE!ship project page  : https://sourceforge.net/projects/freeship                      *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *    FREE!ship homepage      : www.FREEship.org                                               *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    This program is free software; you can redistribute it and/or modify it under            *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    the terms of the GNU General Public License as published by the                          *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    Free Software Foundation; either version 2 of the License, or (at your option)           *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    any later version.                                                                       *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    This program is distributed in the hope that it will be useful, but WITHOUT ANY          *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A          *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    PARTICULAR PURPOSE. See the GNU General Public License for more details.                 *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *    You should have received a copy of the GNU General Public License along with             *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    this program; if not, write to the Free Software Foundation, Inc.,                       *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                                    *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *#############################################################################################*/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;stdexcept&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivcontrolcurve_8h.html">subdivcontrolcurve.h</a>&quot;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivsurface_8h.html">subdivsurface.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivpoint_8h.html">subdivpoint.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivedge_8h.html">subdivedge.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="spline_8h.html">spline.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="viewport_8h.html">viewport.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="filebuffer_8h.html">filebuffer.h</a>&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shader_8h.html">shader.h</a>&quot;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="entity_8h.html">entity.h</a>&quot;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespaceShipCAD.html">ShipCAD</a>;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a21d9226cc2fd7efcaf6f1067912a0b34">   49</a></span>&#160;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html">SubdivisionControlCurve</a>* SubdivisionControlCurve::construct(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner)</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keywordtype">void</span> * cmem = owner-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a2c4ae9dd2926ceabc10351863923cf41">getControlCurvePool</a>().add();</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordtype">void</span> * smem = owner-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a8dd10eab77ea0863f5f5e74d263cbae7">getSplinePool</a>().add();</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <a class="code" href="classShipCAD_1_1Spline.html">Spline</a>* spline = <span class="keyword">new</span> (smem) <a class="code" href="classShipCAD_1_1Spline.html">Spline</a>();</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">new</span> (cmem) <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html">SubdivisionControlCurve</a>(owner, spline);</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;}</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a6655333ddb8fa6c464dba4f6f7776592">   57</a></span>&#160;SubdivisionControlCurve::SubdivisionControlCurve(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner, <a class="code" href="classShipCAD_1_1Spline.html">Spline</a>* spline)</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    : <a class="code" href="classShipCAD_1_1SubdivisionBase.html">SubdivisionBase</a>(owner), _build(false), _curve(spline)</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;{</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="comment">// does nothing</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;}</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a6e2678c3fa1885e63d11bb692af54af7">   63</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a6e2678c3fa1885e63d11bb692af54af7">SubdivisionControlCurve::removeCurve</a>()</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="comment">// spline will have already been removed in surface remove</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="comment">// remove references from control edges</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=1; i&lt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size(); ++i) {</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p1 = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i-1];</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p2 = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i];</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* edge = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#adfdeabdc19eb55a7ba4ab0b607207300">edgeExists</a>(p1, p2);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <span class="keywordflow">if</span> (edge != 0)</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;            edge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">setCurve</a>(0);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    }</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="comment">// remove references from subdivided edges</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=1; i&lt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.size(); ++i) {</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* p1 = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[i-1];</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* p2 = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[i];</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* edge = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#adfdeabdc19eb55a7ba4ab0b607207300">edgeExists</a>(p1, p2);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keywordflow">if</span> (edge != 0)</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            edge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">setCurve</a>(0);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;}</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#abaf7f7cfec21eedacf55b1654f3e7f2f">   84</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#abaf7f7cfec21eedacf55b1654f3e7f2f">SubdivisionControlCurve::setSelected</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;{</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keywordflow">if</span> (val)</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5614a6ea5e1b67ec516328d64574cd9e">setSelectedControlCurve</a>(<span class="keyword">this</span>);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a1666628c8232ba11d386641fa7980ed7">removeSelectedControlCurve</a>(<span class="keyword">this</span>);</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;}</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a1155b0abe401a7128369a589b6e6ac9c">   92</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a1155b0abe401a7128369a589b6e6ac9c">SubdivisionControlCurve::addPoint</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p)</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;{</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.push_back(p);</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#afb98b225e0dc255272a69e96c14eedb7">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;}</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a34e280e9ba6e6705577d1afd229e9f20">   98</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a34e280e9ba6e6705577d1afd229e9f20">SubdivisionControlCurve::resetDivPoints</a>()</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;{</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.clear();</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size(); ++i)</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.push_back(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i]);</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#afb98b225e0dc255272a69e96c14eedb7">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;}</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a800e0d38d3cdbdc6a38aa989b5fdb3ff">  106</a></span>&#160;QColor <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a800e0d38d3cdbdc6a38aa989b5fdb3ff">SubdivisionControlCurve::getColor</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ae4a8eda1eb14cc85f336aa6b2d10753b">isSelected</a>())</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a1fb4babaa91950e02f5e7546ed2c1e5b">getSelectedColor</a>();</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a796ee3dc45dd6d25ce8a58e65048c947">getControlCurveColor</a>();</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;}</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#ae4a8eda1eb14cc85f336aa6b2d10753b">  113</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ae4a8eda1eb14cc85f336aa6b2d10753b">SubdivisionControlCurve::isSelected</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a1eebd6470c583678d5994007be6b4a9b">hasSelectedControlCurve</a>(<span class="keyword">this</span>);</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;}</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a5ed850eb8b536f4f534adca1c9a3aca0">  118</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a5ed850eb8b536f4f534adca1c9a3aca0">SubdivisionControlCurve::isVisible</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#afbad6f61c156d26464dbdc7a22d4d607">showControlCurves</a>();</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;}</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a40ad888b65a29ca25d39a15f37cb53c0">  123</a></span>&#160;<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a40ad888b65a29ca25d39a15f37cb53c0">SubdivisionControlCurve::getControlPoint</a>(<span class="keywordtype">size_t</span> index)<span class="keyword"> const</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keywordflow">if</span> (index &lt; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size())</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[index];</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="keywordflow">throw</span> out_of_range(<span class="stringliteral">&quot;index for SubdivisionControlCurve::getControlPoint&quot;</span>);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;}</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#ad34aef8d1a8bd36a68299d3eca67d056">  130</a></span>&#160;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ad34aef8d1a8bd36a68299d3eca67d056">SubdivisionControlCurve::getSubdivPoint</a>(<span class="keywordtype">size_t</span> index)<span class="keyword"> const</span></div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="keywordflow">if</span> (index &lt; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.size())</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[index];</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="keywordflow">throw</span> out_of_range(<span class="stringliteral">&quot;index for SubdivisionControlCurve::getSubdivPoint&quot;</span>);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;}</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#aa574f77f4abc5a8eef05e7cef7f8d8a2">  137</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#aa574f77f4abc5a8eef05e7cef7f8d8a2">SubdivisionControlCurve::clear</a>()</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;{</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.clear();</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a115a5b67ed81a3012ccb02a25b3d2c24">_curve</a>-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a02967f3eee8b1755eab0d7da55c3c621">clear</a>();</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.clear();</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#afb98b225e0dc255272a69e96c14eedb7">setBuild</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;}</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#abfed48331919c4d2a2bfc6363b28ebb4">  145</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#abfed48331919c4d2a2bfc6363b28ebb4">SubdivisionControlCurve::deleteEdge</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html">SubdivisionControlEdge</a>* edge)</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;{</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keywordtype">bool</span> delcurve = <span class="keyword">false</span>;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p1, *p2;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* anedge;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keywordtype">size_t</span> i = 2;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="keywordflow">while</span> (i &lt;= <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size()) {</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keywordflow">if</span> ((<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i-2] == edge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aa6e28532f3ecc1610813844dfb385deb">startPoint</a>() &amp;&amp; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i-1] == edge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aa65e2e10929c52fd05b6bb90317977dc">endPoint</a>())</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;             || (<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i-2] == edge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aa65e2e10929c52fd05b6bb90317977dc">endPoint</a>() &amp;&amp; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i-1] == edge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aa6e28532f3ecc1610813844dfb385deb">startPoint</a>())) {</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;            <span class="comment">// remove references to this curve from control edges</span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=2; j&lt;=<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size(); ++j) {</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;                anedge = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#adfdeabdc19eb55a7ba4ab0b607207300">edgeExists</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[j-2], <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[j-1]);</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                <span class="keywordflow">if</span> (anedge != 0)</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;                    anedge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">setCurve</a>(0);</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;            }</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;            <span class="comment">// remove references from subdivided edges</span></div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=2; j&lt;=<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.size(); ++j) {</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;                anedge = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#adfdeabdc19eb55a7ba4ab0b607207300">edgeExists</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[j-2], <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[j-1]);</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;                <span class="keywordflow">if</span> (anedge != 0)</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;                    anedge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">setCurve</a>(0);</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;            }</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.clear();</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            <span class="keywordflow">if</span> (i - 2 &gt; 0) {</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;                <span class="comment">// build first new curve</span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;                <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html">SubdivisionControlCurve</a>* newcurve = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a21d9226cc2fd7efcaf6f1067912a0b34">SubdivisionControlCurve::construct</a>(<a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>);</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;                <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#aa01ccc2ce7417960ca13075e38eb98e6">addControlCurve</a>(newcurve);</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;                p1 = 0;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=0; j&lt;=i-2; ++j) {</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;                    p2 = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[j];</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;                    newcurve-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a1155b0abe401a7128369a589b6e6ac9c">addPoint</a>(p2);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;                    <span class="keywordflow">if</span> (j &gt; 0) {</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;                        anedge = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#adfdeabdc19eb55a7ba4ab0b607207300">edgeExists</a>(p1, p2);</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;                        <span class="keywordflow">if</span> (anedge != 0)</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;                            anedge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">setCurve</a>(newcurve);</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;                    }</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;                    p1 = p2;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;                }</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;                newcurve-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#abaf7f7cfec21eedacf55b1654f3e7f2f">setSelected</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ae4a8eda1eb14cc85f336aa6b2d10753b">isSelected</a>());</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;            }</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;            <span class="keywordflow">if</span> (i - 1 &lt; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size() - 1) {</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;                <span class="comment">// build second new curve</span></div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;                <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html">SubdivisionControlCurve</a>* newcurve = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a21d9226cc2fd7efcaf6f1067912a0b34">SubdivisionControlCurve::construct</a>(<a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>);</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;                <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#aa01ccc2ce7417960ca13075e38eb98e6">addControlCurve</a>(newcurve);</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;                p1 = 0;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=i-1; j&lt;=<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size()-1; ++j) {</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;                    p2 = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[j];</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;                    newcurve-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a1155b0abe401a7128369a589b6e6ac9c">addPoint</a>(p2);</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;                    <span class="keywordflow">if</span> (j &gt; i - 1) {</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;                        anedge = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#adfdeabdc19eb55a7ba4ab0b607207300">edgeExists</a>(p1, p2);</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;                        <span class="keywordflow">if</span> (anedge != 0)</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;                            anedge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">setCurve</a>(newcurve);</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;                    }</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;                    p1 = p2;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;                }</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;                newcurve-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#abaf7f7cfec21eedacf55b1654f3e7f2f">setSelected</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ae4a8eda1eb14cc85f336aa6b2d10753b">isSelected</a>());</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;            }</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;            delcurve = <span class="keyword">true</span>;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        }</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        ++i;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    }   <span class="comment">// end while</span></div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="keywordflow">if</span> (delcurve) {</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a8f05e8c3af4f3afd0ced8d8098e03884">deleteControlCurve</a>(<span class="keyword">this</span>);</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    }</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;}</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a4d7d8e87dc582529e763039ffe593360">  213</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a4d7d8e87dc582529e763039ffe593360">SubdivisionControlCurve::draw</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a> &amp;vp, <a class="code" href="classShipCAD_1_1LineShader.html">LineShader</a>* lineshader)</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;{</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ae5fbcecbf686e25e28a6b418719e8ecb">numberOfControlPoints</a>() &lt;= 1)</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <span class="keywordtype">bool</span> sel = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ae4a8eda1eb14cc85f336aa6b2d10753b">isSelected</a>();</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <a class="code" href="classShipCAD_1_1Spline.html">Spline</a>* curve = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af40e4673307d023a6763e0ba64fd47dd">getSpline</a>();</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    curve-&gt;<a class="code" href="classShipCAD_1_1Entity.html#a5e0e5f174d287e807b5409b1aa5704bc">setColor</a>(<a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a796ee3dc45dd6d25ce8a58e65048c947">getControlCurveColor</a>());</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aae0f5ce3bc2aa58759abd32f3462bf16">setShowCurvature</a>(sel &amp;&amp; <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#af92d925b07686d3dfb93e8696f264e09">showCurvature</a>());</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    <span class="keywordflow">if</span> (curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a2b6fa67f7463838ab2ee9d7b8381a9c5">showCurvature</a>())</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aaae6e558fad0833cde71f9ed38e4fb96">setFragments</a>(600);</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aaae6e558fad0833cde71f9ed38e4fb96">setFragments</a>(250);</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#ac40c22712433f98d657ecaed459d03a0">setCurvatureColor</a>(<a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a18cde95f7390e52722f85f93bdc6f1f1">getCurvatureColor</a>());</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a17ba0378bfd4a39b4d96d914332c26e4">setCurvatureScale</a>(<a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a71607715751aa734da85315f697c29ce">getCurvatureScale</a>());</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    QVector&lt;QVector3D&gt;&amp; vertices = lineshader-&gt;<a class="code" href="classShipCAD_1_1LineShader.html#a68f7433ac957df5b454eb1440ad1c7d9">getVertexBuffer</a>();</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a34a553e1f50b7eb97a5380c817f0efb6">showControlNet</a>() &amp;&amp; sel) {</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        <span class="comment">// draw controlpoints and edges</span></div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=1; i&lt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size(); ++i) {</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* p1 = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i-1];</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* p2 = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i];</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html">SubdivisionControlEdge</a>* edge = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a6a89be4440e3adfcb0b14c164db891ae">controlEdgeExists</a>(p1, p2);</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;            <span class="keywordflow">if</span> (edge != 0)</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;                edge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html#a6b86017a5ea7fe487f6017071406e8c4">draw</a>(vp, lineshader);</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;            <span class="keywordflow">if</span> (i == 1)</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;                vertices &lt;&lt; p1-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">getCoordinate</a>();</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;            vertices &lt;&lt; p2-&gt;<a class="code" href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">getCoordinate</a>();</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        }</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        lineshader-&gt;<a class="code" href="classShipCAD_1_1LineShader.html#aaa105117e559ec413a733e14dc638b5a">renderPoints</a>(vertices, <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a800e0d38d3cdbdc6a38aa989b5fdb3ff">getColor</a>());</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    }</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    vertices.clear();</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keywordflow">if</span> (vp.<a class="code" href="classShipCAD_1_1Viewport.html#a5f261a1925f09917013e8e532688326a">getViewportType</a>() == <a class="code" href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0aa1bc519e3e41c233dd8e94c40af1fd36d">fvBodyplan</a> &amp;&amp; !<a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a42b3e7703acd8d51c501d7c47f09ed78">drawMirror</a>()) {</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        vector&lt;QVector3D&gt; parray1;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        vector&lt;QVector3D&gt; parray2;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        <span class="comment">// draw mainframe location</span></div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        <a class="code" href="classShipCAD_1_1Plane.html">Plane</a> mfl(1, 0, 0, -<a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5cd4b62dd61e279f77dc39fd3798c46d">getMainframeLocation</a>());</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        <a class="code" href="classShipCAD_1_1IntersectionData.html">IntersectionData</a> output;</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;        vector&lt;float&gt; parameters;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        parameters.push_back(0);</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;        parameters.push_back(1.0);</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;        <span class="keywordflow">if</span> (curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#ada8dd726a502187bf0e35022576395d3">intersect_plane</a>(mfl, output)) {</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;            parameters.insert(parameters.end(), output.parameters.begin(), output.parameters.end());</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;            sort(parameters.begin(), parameters.end());</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;        }</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;        QVector&lt;QVector3D&gt; curvelines;</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=2; i&lt;=parameters.size(); ++i) {</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            QVector3D p3d = curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aa62cf7afa6461bafce7227ec31875219">value</a>(0.5*(parameters[i-2] + parameters[i-1]));</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;            <span class="keywordtype">int</span> scale;</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;            <span class="keywordflow">if</span> (p3d.x() &lt; <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a5cd4b62dd61e279f77dc39fd3798c46d">getMainframeLocation</a>())</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;                scale = -1;</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;            <span class="keywordflow">else</span></div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;                scale = 1;</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;            <span class="keywordtype">size_t</span> fragm = (parameters[i-1] - parameters[i-2]) * curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a58f8c0b2fcc07931a886a85515750e59">getFragments</a>();</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;            <span class="keywordflow">if</span> (fragm &lt; 10)</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;                fragm = 10;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=0; j&lt;fragm; j++) {</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;                <span class="keywordtype">float</span> t = parameters[i-1] + (parameters[i] - parameters[i-1]) * j / (fragm - 1);</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;                QVector3D p = curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aa62cf7afa6461bafce7227ec31875219">value</a>(t);</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;                p.setY(p.y() * scale);</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;                parray1.push_back(p);</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;            }</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;            <span class="keywordflow">if</span> (curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a2b6fa67f7463838ab2ee9d7b8381a9c5">showCurvature</a>()) {</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=0; j&lt;fragm; ++j) {</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;                    <span class="keywordtype">float</span> t = parameters[i-2] + (parameters[i-1] - parameters[i-2]) * j / (fragm - 1);</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;                    QVector3D normal;</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;                    <span class="keywordtype">float</span> c = curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a755e063448eccbb2714d763596630b9d">curvature</a>(t, normal);</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;                    normal.setY(normal.y() * scale);</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;                    QVector3D p3d2 = parray1[j] - (c * 2 * curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#af82a5bc6171a9252de5e4c74bf1288e5">getCurvatureScale</a>() * normal);</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;                    parray2.push_back(p3d2);</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;                }</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=1; j&lt;=fragm; j++) {</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;                    <span class="keywordflow">if</span> ((j % 4) == 0 || j == 1 || j == fragm) {</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;                        <span class="comment">// draw normal lines</span></div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;                        vertices &lt;&lt; parray1[j-1];</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;                        vertices &lt;&lt; parray2[j-1];</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;                    }</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;                }</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=1; j&lt;parray2.size(); j++) {</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;                    vertices &lt;&lt; parray2[j-1];</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;                    vertices &lt;&lt; parray2[j];</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;                }</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;                glLineWidth(1);</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;                lineshader-&gt;<a class="code" href="classShipCAD_1_1LineShader.html#a3d30bda1883e0eda65ea23c4da76f610">renderLines</a>(vertices, curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a788c76b36b091f3d5b92c9cde414cb89">getCurvatureColor</a>());</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;            }</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;            <span class="keywordflow">else</span> {</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=1; j&lt;=parray1.size(); ++j) {</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;                    vertices &lt;&lt; parray1[j-1];</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;                    vertices &lt;&lt; parray1[j];</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;                }</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;                glLineWidth(1);</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;                lineshader-&gt;<a class="code" href="classShipCAD_1_1LineShader.html#a3d30bda1883e0eda65ea23c4da76f610">renderLines</a>(vertices, <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a800e0d38d3cdbdc6a38aa989b5fdb3ff">getColor</a>());</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;            }</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        }</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    }</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="keywordflow">else</span> {</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a6424ed433d241f566c15891cc25a74dd">draw</a>(vp, lineshader);</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    }</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a42b3e7703acd8d51c501d7c47f09ed78">drawMirror</a>()) {</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;        <span class="comment">// draw reversed curve</span></div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=1; i&lt;=curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">numberOfPoints</a>(); ++i) {</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;            QVector3D p3d = curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a04a94537b420a8d19dc5f78526e9a825">getPoint</a>(i-1);</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;            p3d.setY(-p3d.y());</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;            curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#ae02af8d5473f952644ac5103d7beebf2">setPoint</a>(i-1, p3d);</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;        }</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a6424ed433d241f566c15891cc25a74dd">draw</a>(vp, lineshader);</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=1; i&lt;=curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">numberOfPoints</a>(); ++i) {</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;            QVector3D p3d = curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a04a94537b420a8d19dc5f78526e9a825">getPoint</a>(i-1);</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;            p3d.setY(-p3d.y());</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;            curve-&gt;<a class="code" href="classShipCAD_1_1Spline.html#ae02af8d5473f952644ac5103d7beebf2">setPoint</a>(i-1, p3d);</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;        }</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    }</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;}</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a9469b178a88269d0f9ee3b17d5f15272">  329</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a9469b178a88269d0f9ee3b17d5f15272">SubdivisionControlCurve::insertControlPoint</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a> *p1,</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;                                                 <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a> *p2,</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;                                                 <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a> *newpt)</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;{</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;    <span class="keywordtype">size_t</span> i = 1;</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    <span class="keywordflow">while</span> (i &lt; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size()) {</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;        <span class="keywordflow">if</span> ((<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i-1] == p1 &amp;&amp; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i] == p2) || (<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i] == p1 &amp;&amp; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i-1] == p2)) {</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;            _points.insert(_points.begin()+i, newpt);</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;        }</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        i++;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;    }</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;}</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;</div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a0764f5d7697b76ac928a121d224733f5">  343</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a0764f5d7697b76ac928a121d224733f5">SubdivisionControlCurve::insertEdgePoint</a>(<a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a> *p1,</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;                                              <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a> *p2,</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;                                              <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a> *newpt)</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;{</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    <span class="keywordtype">size_t</span> i = 1;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    <span class="keywordflow">while</span> (i &lt; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.size()) {</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        <span class="keywordflow">if</span> ((<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[i-1] == p1 &amp;&amp; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[i] == p2) || (<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[i] == p1 &amp;&amp; <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[i-1] == p2)) {</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;            _div_points.insert(_div_points.begin()+i, newpt);</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        }</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;        i++;</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    }</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;}</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div><div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#ad2a7118ea074ce1b7f61586f08039d2a">  357</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ad2a7118ea074ce1b7f61586f08039d2a">SubdivisionControlCurve::loadBinary</a>(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a> &amp;source)</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;{</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    quint32 n, ind;</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    source.<a class="code" href="classShipCAD_1_1FileBuffer.html#a86223c54bcf111ef205c9d651e0b9a66">load</a>(n);</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p1 = 0;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;n; ++i) {</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;        source.<a class="code" href="classShipCAD_1_1FileBuffer.html#a86223c54bcf111ef205c9d651e0b9a66">load</a>(ind);</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p2 = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a534abfeaab8e30436c7ba4f14048472a">getControlPoint</a>(ind);</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.push_back(p2);</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;        <span class="keywordflow">if</span> (i &gt; 0) {</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* edge = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#adfdeabdc19eb55a7ba4ab0b607207300">edgeExists</a>(p1, p2);</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;            <span class="keywordflow">if</span> (edge != 0)</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;                edge-&gt;<a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">setCurve</a>(<span class="keyword">this</span>);</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;        }</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        p1 = p2;</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;    }</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>.size(); ++i)</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.push_back(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i]);</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;    <span class="keywordtype">bool</span> sel;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    source.<a class="code" href="classShipCAD_1_1FileBuffer.html#a86223c54bcf111ef205c9d651e0b9a66">load</a>(sel);</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;    <span class="keywordflow">if</span> (sel)</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#abaf7f7cfec21eedacf55b1654f3e7f2f">setSelected</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;}</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;</div><div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a078fc8820a6c0e37c475eec1897b13dd">  381</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a078fc8820a6c0e37c475eec1897b13dd">SubdivisionControlCurve::replaceVertexPoint</a>(<a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a> *oldpt, <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a> *newpt)</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;{</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>.size(); ++i) {</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[i] == oldpt) {</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">_div_points</a>[i] = newpt;</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;            <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a115a5b67ed81a3012ccb02a25b3d2c24">_curve</a>-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a02967f3eee8b1755eab0d7da55c3c621">clear</a>();</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;        }</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;    }</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;}</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div><div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a6b7ecd29d30f2eb0625094e514f0e542">  392</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a6b7ecd29d30f2eb0625094e514f0e542">SubdivisionControlCurve::saveBinary</a>(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a> &amp;destination)<span class="keyword"> const</span></div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;    destination.<a class="code" href="classShipCAD_1_1FileBuffer.html#a9a5d46b2c6d568ee2cdef110d4773e73">add</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ae5fbcecbf686e25e28a6b418719e8ecb">numberOfControlPoints</a>());</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ae5fbcecbf686e25e28a6b418719e8ecb">numberOfControlPoints</a>(); ++i) {</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;        <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p = <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">_points</a>[i];</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;        <span class="keywordtype">size_t</span> ind = <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a7c7e95d4d3f6c100204e37f45fca5636">indexOfControlPoint</a>(p);</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        destination.<a class="code" href="classShipCAD_1_1FileBuffer.html#a9a5d46b2c6d568ee2cdef110d4773e73">add</a>(ind);</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    }</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    destination.<a class="code" href="classShipCAD_1_1FileBuffer.html#a9a5d46b2c6d568ee2cdef110d4773e73">add</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#ae4a8eda1eb14cc85f336aa6b2d10753b">isSelected</a>());</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;}</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;</div><div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a9bd87373607e0b916e340f61b5c22750">  403</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a9bd87373607e0b916e340f61b5c22750">SubdivisionControlCurve::saveToDXF</a>(QStringList&amp; strings)<span class="keyword"> const</span></div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;    QString layer(<span class="stringliteral">&quot;Control_curves&quot;</span>);</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a115a5b67ed81a3012ccb02a25b3d2c24">_curve</a>-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aaae6e558fad0833cde71f9ed38e4fb96">setFragments</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a115a5b67ed81a3012ccb02a25b3d2c24">_curve</a>-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">numberOfPoints</a>());</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a115a5b67ed81a3012ccb02a25b3d2c24">_curve</a>-&gt;<a class="code" href="classShipCAD_1_1Spline.html#a33a6300e79043b2fee45cb0eca0696bb">saveToDXF</a>(strings, layer, <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">_owner</a>-&gt;<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a42b3e7703acd8d51c501d7c47f09ed78">drawMirror</a>());</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;}</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;</div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a30e8d074583a386be2ab6343cb5f8502">  410</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a30e8d074583a386be2ab6343cb5f8502">SubdivisionControlCurve::dump</a>(ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix)<span class="keyword"> const</span></div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;    os &lt;&lt; prefix &lt;&lt; <span class="stringliteral">&quot;SubdivisionControlCurve [&quot;</span></div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;       &lt;&lt; hex &lt;&lt; <span class="keyword">this</span> &lt;&lt; <span class="stringliteral">&quot;]\n&quot;</span>;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a48fbb761e8c85120ba7f6876d873e898">priv_dump</a>(os, prefix);</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;}</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;</div><div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlCurve.html#a48fbb761e8c85120ba7f6876d873e898">  417</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a48fbb761e8c85120ba7f6876d873e898">SubdivisionControlCurve::priv_dump</a>(ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix)<span class="keyword"> const</span></div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionBase.html#a024aa781bbf2e54b6fb088e33126998e">SubdivisionBase::priv_dump</a>(os, prefix);</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    <span class="comment">//os &lt;&lt; &quot;SubdivisionControlCurve [&quot;</span></div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    <span class="comment">//   &lt;&lt; hex &lt;&lt; this &lt;&lt; &quot;]\n&quot;;</span></div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;}</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;</div><div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="subdivcontrolcurve_8h.html#a5cb334fc4ad40d21dc25ffaf835c53c8">  424</a></span>&#160;ostream&amp; <a class="code" href="subdivcontrolcurve_8cpp.html#a0a92161211ffc03f4a674dcd24fe04c2">operator &lt;&lt; </a>(ostream&amp; os, <span class="keyword">const</span> <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html">ShipCAD::SubdivisionControlCurve</a>&amp; curve)</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;{</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;    curve.<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html#a30e8d074583a386be2ab6343cb5f8502">dump</a>(os);</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    <span class="keywordflow">return</span> os;</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;}</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;</div><div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a1155b0abe401a7128369a589b6e6ac9c"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a1155b0abe401a7128369a589b6e6ac9c">ShipCAD::SubdivisionControlCurve::addPoint</a></div><div class="ttdeci">void addPoint(SubdivisionControlPoint *p)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00092">subdivcontrolcurve.cpp:92</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html_a5f261a1925f09917013e8e532688326a"><div class="ttname"><a href="classShipCAD_1_1Viewport.html#a5f261a1925f09917013e8e532688326a">ShipCAD::Viewport::getViewportType</a></div><div class="ttdeci">viewport_type_t getViewportType() const </div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00097">viewport.h:97</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html">ShipCAD::SubdivisionControlPoint</a></div><div class="ttdoc">3D Control point </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00208">subdivpoint.h:208</a></div></div>
<div class="ttc" id="entity_8h_html"><div class="ttname"><a href="entity_8h.html">entity.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a445c08836100060818c129ea7c694234"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">ShipCAD::SubdivisionEdge::setCurve</a></div><div class="ttdeci">void setCurve(SubdivisionControlCurve *curve)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00084">subdivedge.h:84</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a04a94537b420a8d19dc5f78526e9a825"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a04a94537b420a8d19dc5f78526e9a825">ShipCAD::Spline::getPoint</a></div><div class="ttdeci">QVector3D getPoint(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00144">spline.h:144</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aeeeb05810f2e31ef89fd4ac6b6ba9c0aa1bc519e3e41c233dd8e94c40af1fd36d"><div class="ttname"><a href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0aa1bc519e3e41c233dd8e94c40af1fd36d">ShipCAD::fvBodyplan</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00071">shipcadlib.h:71</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ac40c22712433f98d657ecaed459d03a0"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ac40c22712433f98d657ecaed459d03a0">ShipCAD::Spline::setCurvatureColor</a></div><div class="ttdeci">void setCurvatureColor(const QColor &amp;val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00137">spline.h:137</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a42b3e7703acd8d51c501d7c47f09ed78"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a42b3e7703acd8d51c501d7c47f09ed78">ShipCAD::SubdivisionSurface::drawMirror</a></div><div class="ttdeci">bool drawMirror() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00329">subdivsurface.h:329</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a6b7ecd29d30f2eb0625094e514f0e542"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a6b7ecd29d30f2eb0625094e514f0e542">ShipCAD::SubdivisionControlCurve::saveBinary</a></div><div class="ttdeci">void saveBinary(FileBuffer &amp;destination) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00392">subdivcontrolcurve.cpp:392</a></div></div>
<div class="ttc" id="spline_8h_html"><div class="ttname"><a href="spline_8h.html">spline.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ae02af8d5473f952644ac5103d7beebf2"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ae02af8d5473f952644ac5103d7beebf2">ShipCAD::Spline::setPoint</a></div><div class="ttdeci">void setPoint(size_t index, const QVector3D &amp;p)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00103">spline.cpp:103</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a9bd87373607e0b916e340f61b5c22750"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a9bd87373607e0b916e340f61b5c22750">ShipCAD::SubdivisionControlCurve::saveToDXF</a></div><div class="ttdeci">void saveToDXF(QStringList &amp;strings) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00403">subdivcontrolcurve.cpp:403</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html_a9a5d46b2c6d568ee2cdef110d4773e73"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html#a9a5d46b2c6d568ee2cdef110d4773e73">ShipCAD::FileBuffer::add</a></div><div class="ttdeci">void add(const JPEGImage &amp;img)</div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8cpp_source.html#l00108">filebuffer.cpp:108</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html">ShipCAD::IntersectionData</a></div><div class="ttdoc">Record of geometry intersections. </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00049">entity.h:49</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a30e8d074583a386be2ab6343cb5f8502"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a30e8d074583a386be2ab6343cb5f8502">ShipCAD::SubdivisionControlCurve::dump</a></div><div class="ttdeci">virtual void dump(std::ostream &amp;os, const char *prefix=&quot;&quot;) const </div><div class="ttdoc">print out the element to a stream </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00410">subdivcontrolcurve.cpp:410</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_afb98b225e0dc255272a69e96c14eedb7"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#afb98b225e0dc255272a69e96c14eedb7">ShipCAD::SubdivisionControlCurve::setBuild</a></div><div class="ttdeci">void setBuild(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8h_source.html#l00084">subdivcontrolcurve.h:84</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionBase_html_a024aa781bbf2e54b6fb088e33126998e"><div class="ttname"><a href="classShipCAD_1_1SubdivisionBase.html#a024aa781bbf2e54b6fb088e33126998e">ShipCAD::SubdivisionBase::priv_dump</a></div><div class="ttdeci">void priv_dump(std::ostream &amp;os, const char *prefix) const </div><div class="ttdoc">dump the element to a stream </div><div class="ttdef"><b>Definition:</b> <a href="subdivbase_8cpp_source.html#l00057">subdivbase.cpp:57</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html">ShipCAD::SubdivisionEdge</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00054">subdivedge.h:54</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_abaf7f7cfec21eedacf55b1654f3e7f2f"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#abaf7f7cfec21eedacf55b1654f3e7f2f">ShipCAD::SubdivisionControlCurve::setSelected</a></div><div class="ttdeci">void setSelected(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00084">subdivcontrolcurve.cpp:84</a></div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace. </div></div>
<div class="ttc" id="subdivcontrolcurve_8h_html"><div class="ttname"><a href="subdivcontrolcurve_8h.html">subdivcontrolcurve.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a0764f5d7697b76ac928a121d224733f5"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a0764f5d7697b76ac928a121d224733f5">ShipCAD::SubdivisionControlCurve::insertEdgePoint</a></div><div class="ttdeci">void insertEdgePoint(SubdivisionPoint *p1, SubdivisionPoint *p2, SubdivisionPoint *newpt)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00343">subdivcontrolcurve.cpp:343</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a078fc8820a6c0e37c475eec1897b13dd"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a078fc8820a6c0e37c475eec1897b13dd">ShipCAD::SubdivisionControlCurve::replaceVertexPoint</a></div><div class="ttdeci">void replaceVertexPoint(SubdivisionPoint *oldpt, SubdivisionPoint *newpt)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00381">subdivcontrolcurve.cpp:381</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a48fbb761e8c85120ba7f6876d873e898"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a48fbb761e8c85120ba7f6876d873e898">ShipCAD::SubdivisionControlCurve::priv_dump</a></div><div class="ttdeci">void priv_dump(std::ostream &amp;os, const char *prefix) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00417">subdivcontrolcurve.cpp:417</a></div></div>
<div class="ttc" id="viewport_8h_html"><div class="ttname"><a href="viewport_8h.html">viewport.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_ae5fbcecbf686e25e28a6b418719e8ecb"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#ae5fbcecbf686e25e28a6b418719e8ecb">ShipCAD::SubdivisionControlCurve::numberOfControlPoints</a></div><div class="ttdeci">size_t numberOfControlPoints() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8h_source.html#l00079">subdivcontrolcurve.h:79</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a6424ed433d241f566c15891cc25a74dd"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a6424ed433d241f566c15891cc25a74dd">ShipCAD::Spline::draw</a></div><div class="ttdeci">virtual void draw(Viewport &amp;vp, LineShader *lineshader)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00507">spline.cpp:507</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa62cf7afa6461bafce7227ec31875219"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa62cf7afa6461bafce7227ec31875219">ShipCAD::Spline::value</a></div><div class="ttdeci">QVector3D value(float parameter) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00806">spline.cpp:806</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_afbad6f61c156d26464dbdc7a22d4d607"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#afbad6f61c156d26464dbdc7a22d4d607">ShipCAD::SubdivisionSurface::showControlCurves</a></div><div class="ttdeci">bool showControlCurves() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00327">subdivsurface.h:327</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a2c4ae9dd2926ceabc10351863923cf41"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a2c4ae9dd2926ceabc10351863923cf41">ShipCAD::SubdivisionSurface::getControlCurvePool</a></div><div class="ttdeci">Pool&lt; SubdivisionControlCurve &gt; &amp; getControlCurvePool()</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00380">subdivsurface.h:380</a></div></div>
<div class="ttc" id="subdivcontrolcurve_8cpp_html_a0a92161211ffc03f4a674dcd24fe04c2"><div class="ttname"><a href="subdivcontrolcurve_8cpp.html#a0a92161211ffc03f4a674dcd24fe04c2">operator&lt;&lt;</a></div><div class="ttdeci">ostream &amp; operator&lt;&lt;(ostream &amp;os, const ShipCAD::SubdivisionControlCurve &amp;curve)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00424">subdivcontrolcurve.cpp:424</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a115a5b67ed81a3012ccb02a25b3d2c24"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a115a5b67ed81a3012ccb02a25b3d2c24">ShipCAD::SubdivisionControlCurve::_curve</a></div><div class="ttdeci">Spline * _curve</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8h_source.html#l00111">subdivcontrolcurve.h:111</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a8f05e8c3af4f3afd0ced8d8098e03884"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a8f05e8c3af4f3afd0ced8d8098e03884">ShipCAD::SubdivisionSurface::deleteControlCurve</a></div><div class="ttdeci">void deleteControlCurve(SubdivisionControlCurve *curve)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01116">subdivsurface.cpp:1116</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa15d52dbfa55ec3b1ec272104a45ebd5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">ShipCAD::Spline::numberOfPoints</a></div><div class="ttdeci">size_t numberOfPoints() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00157">spline.h:157</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a1eebd6470c583678d5994007be6b4a9b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a1eebd6470c583678d5994007be6b4a9b">ShipCAD::SubdivisionSurface::hasSelectedControlCurve</a></div><div class="ttdeci">bool hasSelectedControlCurve(const SubdivisionControlCurve *curve) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01306">subdivsurface.cpp:1306</a></div></div>
<div class="ttc" id="subdivsurface_8h_html"><div class="ttname"><a href="subdivsurface_8h.html">subdivsurface.h</a></div></div>
<div class="ttc" id="subdivpoint_8h_html"><div class="ttname"><a href="subdivpoint_8h.html">subdivpoint.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionBase_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionBase.html">ShipCAD::SubdivisionBase</a></div><div class="ttdoc">the base class for all subdivision points, edges and faces </div><div class="ttdef"><b>Definition:</b> <a href="subdivbase_8h_source.html#l00045">subdivbase.h:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html_aaa105117e559ec413a733e14dc638b5a"><div class="ttname"><a href="classShipCAD_1_1LineShader.html#aaa105117e559ec413a733e14dc638b5a">ShipCAD::LineShader::renderPoints</a></div><div class="ttdeci">void renderPoints(QVector&lt; QVector3D &gt; &amp;points, QColor color)</div><div class="ttdef"><b>Definition:</b> <a href="shader_8cpp_source.html#l00127">shader.cpp:127</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html_a68f7433ac957df5b454eb1440ad1c7d9"><div class="ttname"><a href="classShipCAD_1_1LineShader.html#a68f7433ac957df5b454eb1440ad1c7d9">ShipCAD::LineShader::getVertexBuffer</a></div><div class="ttdeci">QVector&lt; QVector3D &gt; &amp; getVertexBuffer()</div><div class="ttdef"><b>Definition:</b> <a href="shader_8cpp_source.html#l00159">shader.cpp:159</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a18cde95f7390e52722f85f93bdc6f1f1"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a18cde95f7390e52722f85f93bdc6f1f1">ShipCAD::SubdivisionSurface::getCurvatureColor</a></div><div class="ttdeci">QColor getCurvatureColor() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00353">subdivsurface.h:353</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html"><div class="ttname"><a href="classShipCAD_1_1Viewport.html">ShipCAD::Viewport</a></div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00070">viewport.h:70</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionBase_html_a164481259436bf18bc22a0626ab66c09"><div class="ttname"><a href="classShipCAD_1_1SubdivisionBase.html#a164481259436bf18bc22a0626ab66c09">ShipCAD::SubdivisionBase::_owner</a></div><div class="ttdeci">SubdivisionSurface * _owner</div><div class="ttdef"><b>Definition:</b> <a href="subdivbase_8h_source.html#l00095">subdivbase.h:95</a></div></div>
<div class="ttc" id="filebuffer_8h_html"><div class="ttname"><a href="filebuffer_8h.html">filebuffer.h</a></div></div>
<div class="ttc" id="shader_8h_html"><div class="ttname"><a href="shader_8h.html">shader.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aaae6e558fad0833cde71f9ed38e4fb96"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aaae6e558fad0833cde71f9ed38e4fb96">ShipCAD::Spline::setFragments</a></div><div class="ttdeci">void setFragments(size_t val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00084">spline.cpp:84</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_af91dbc96b703fe618567326cca21d82c"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#af91dbc96b703fe618567326cca21d82c">ShipCAD::SubdivisionControlCurve::_div_points</a></div><div class="ttdeci">std::vector&lt; SubdivisionPoint * &gt; _div_points</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8h_source.html#l00110">subdivcontrolcurve.h:110</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a7c7e95d4d3f6c100204e37f45fca5636"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a7c7e95d4d3f6c100204e37f45fca5636">ShipCAD::SubdivisionSurface::indexOfControlPoint</a></div><div class="ttdeci">size_t indexOfControlPoint(const SubdivisionControlPoint *pt) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01039">subdivsurface.cpp:1039</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a5614a6ea5e1b67ec516328d64574cd9e"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a5614a6ea5e1b67ec516328d64574cd9e">ShipCAD::SubdivisionSurface::setSelectedControlCurve</a></div><div class="ttdeci">void setSelectedControlCurve(SubdivisionControlCurve *curve)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01300">subdivsurface.cpp:1300</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a6e2678c3fa1885e63d11bb692af54af7"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a6e2678c3fa1885e63d11bb692af54af7">ShipCAD::SubdivisionControlCurve::removeCurve</a></div><div class="ttdeci">void removeCurve()</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00063">subdivcontrolcurve.cpp:63</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a33a6300e79043b2fee45cb0eca0696bb"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a33a6300e79043b2fee45cb0eca0696bb">ShipCAD::Spline::saveToDXF</a></div><div class="ttdeci">void saveToDXF(QStringList &amp;strings, QString layername, bool sendmirror) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00740">spline.cpp:740</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html_a86223c54bcf111ef205c9d651e0b9a66"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html#a86223c54bcf111ef205c9d651e0b9a66">ShipCAD::FileBuffer::load</a></div><div class="ttdeci">void load(JPEGImage &amp;img)</div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8cpp_source.html#l00096">filebuffer.cpp:96</a></div></div>
<div class="ttc" id="subdivedge_8h_html"><div class="ttname"><a href="subdivedge_8h.html">subdivedge.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a8dd10eab77ea0863f5f5e74d263cbae7"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a8dd10eab77ea0863f5f5e74d263cbae7">ShipCAD::SubdivisionSurface::getSplinePool</a></div><div class="ttdeci">Pool&lt; Spline &gt; &amp; getSplinePool()</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00385">subdivsurface.h:385</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_ad34aef8d1a8bd36a68299d3eca67d056"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#ad34aef8d1a8bd36a68299d3eca67d056">ShipCAD::SubdivisionControlCurve::getSubdivPoint</a></div><div class="ttdeci">SubdivisionPoint * getSubdivPoint(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00130">subdivcontrolcurve.cpp:130</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_af40e4673307d023a6763e0ba64fd47dd"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#af40e4673307d023a6763e0ba64fd47dd">ShipCAD::SubdivisionControlCurve::getSpline</a></div><div class="ttdeci">Spline * getSpline() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8h_source.html#l00086">subdivcontrolcurve.h:86</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a788c76b36b091f3d5b92c9cde414cb89"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a788c76b36b091f3d5b92c9cde414cb89">ShipCAD::Spline::getCurvatureColor</a></div><div class="ttdeci">QColor getCurvatureColor() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00135">spline.h:135</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html_a3d30bda1883e0eda65ea23c4da76f610"><div class="ttname"><a href="classShipCAD_1_1LineShader.html#a3d30bda1883e0eda65ea23c4da76f610">ShipCAD::LineShader::renderLines</a></div><div class="ttdeci">void renderLines(QVector&lt; QVector3D &gt; &amp;vertices, QColor lineColor)</div><div class="ttdef"><b>Definition:</b> <a href="shader_8cpp_source.html#l00143">shader.cpp:143</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html">ShipCAD::FileBuffer</a></div><div class="ttdoc">in-memory buffer for a binary file (FREE!Ship format) </div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8h_source.html#l00052">filebuffer.h:52</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlEdge_html_a6b86017a5ea7fe487f6017071406e8c4"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlEdge.html#a6b86017a5ea7fe487f6017071406e8c4">ShipCAD::SubdivisionControlEdge::draw</a></div><div class="ttdeci">virtual void draw(Viewport &amp;vp, LineShader *lineshader)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00663">subdivedge.cpp:663</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a58f8c0b2fcc07931a886a85515750e59"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a58f8c0b2fcc07931a886a85515750e59">ShipCAD::Spline::getFragments</a></div><div class="ttdeci">size_t getFragments() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00151">spline.h:151</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_ad2a7118ea074ce1b7f61586f08039d2a"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#ad2a7118ea074ce1b7f61586f08039d2a">ShipCAD::SubdivisionControlCurve::loadBinary</a></div><div class="ttdeci">void loadBinary(FileBuffer &amp;source)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00357">subdivcontrolcurve.cpp:357</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a534abfeaab8e30436c7ba4f14048472a"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a534abfeaab8e30436c7ba4f14048472a">ShipCAD::SubdivisionSurface::getControlPoint</a></div><div class="ttdeci">SubdivisionControlPoint * getControlPoint(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01049">subdivsurface.cpp:1049</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_af92d925b07686d3dfb93e8696f264e09"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#af92d925b07686d3dfb93e8696f264e09">ShipCAD::SubdivisionSurface::showCurvature</a></div><div class="ttdeci">bool showCurvature() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00324">subdivsurface.h:324</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlEdge_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlEdge.html">ShipCAD::SubdivisionControlEdge</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00116">subdivedge.h:116</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_abfed48331919c4d2a2bfc6363b28ebb4"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#abfed48331919c4d2a2bfc6363b28ebb4">ShipCAD::SubdivisionControlCurve::deleteEdge</a></div><div class="ttdeci">void deleteEdge(SubdivisionControlEdge *edge)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00145">subdivcontrolcurve.cpp:145</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a9469b178a88269d0f9ee3b17d5f15272"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a9469b178a88269d0f9ee3b17d5f15272">ShipCAD::SubdivisionControlCurve::insertControlPoint</a></div><div class="ttdeci">void insertControlPoint(SubdivisionControlPoint *p1, SubdivisionControlPoint *p2, SubdivisionControlPoint *newpt)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00329">subdivcontrolcurve.cpp:329</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a40ad888b65a29ca25d39a15f37cb53c0"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a40ad888b65a29ca25d39a15f37cb53c0">ShipCAD::SubdivisionControlCurve::getControlPoint</a></div><div class="ttdeci">SubdivisionControlPoint * getControlPoint(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00123">subdivcontrolcurve.cpp:123</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_aa574f77f4abc5a8eef05e7cef7f8d8a2"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#aa574f77f4abc5a8eef05e7cef7f8d8a2">ShipCAD::SubdivisionControlCurve::clear</a></div><div class="ttdeci">virtual void clear()</div><div class="ttdoc">reset this element to default values </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00137">subdivcontrolcurve.cpp:137</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aae0f5ce3bc2aa58759abd32f3462bf16"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aae0f5ce3bc2aa58759abd32f3462bf16">ShipCAD::Spline::setShowCurvature</a></div><div class="ttdeci">void setShowCurvature(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00133">spline.h:133</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a755e063448eccbb2714d763596630b9d"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a755e063448eccbb2714d763596630b9d">ShipCAD::Spline::curvature</a></div><div class="ttdeci">float curvature(float parameter, QVector3D &amp;normal) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00447">spline.cpp:447</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_af82a5bc6171a9252de5e4c74bf1288e5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#af82a5bc6171a9252de5e4c74bf1288e5">ShipCAD::Spline::getCurvatureScale</a></div><div class="ttdeci">float getCurvatureScale() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00139">spline.h:139</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html"><div class="ttname"><a href="classShipCAD_1_1LineShader.html">ShipCAD::LineShader</a></div><div class="ttdef"><b>Definition:</b> <a href="shader_8h_source.html#l00075">shader.h:75</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_aa6e28532f3ecc1610813844dfb385deb"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#aa6e28532f3ecc1610813844dfb385deb">ShipCAD::SubdivisionEdge::startPoint</a></div><div class="ttdeci">SubdivisionPoint * startPoint() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00075">subdivedge.h:75</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_ac54ea0783b3f8f2aa65d49fe489f1b4f"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#ac54ea0783b3f8f2aa65d49fe489f1b4f">ShipCAD::SubdivisionControlCurve::_points</a></div><div class="ttdeci">std::vector&lt; SubdivisionControlPoint * &gt; _points</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8h_source.html#l00109">subdivcontrolcurve.h:109</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a21d9226cc2fd7efcaf6f1067912a0b34"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a21d9226cc2fd7efcaf6f1067912a0b34">ShipCAD::SubdivisionControlCurve::construct</a></div><div class="ttdeci">static SubdivisionControlCurve * construct(SubdivisionSurface *owner)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00049">subdivcontrolcurve.cpp:49</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a4d7d8e87dc582529e763039ffe593360"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a4d7d8e87dc582529e763039ffe593360">ShipCAD::SubdivisionControlCurve::draw</a></div><div class="ttdeci">virtual void draw(Viewport &amp;vp, LineShader *lineshader)</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00213">subdivcontrolcurve.cpp:213</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a1fb4babaa91950e02f5e7546ed2c1e5b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a1fb4babaa91950e02f5e7546ed2c1e5b">ShipCAD::SubdivisionSurface::getSelectedColor</a></div><div class="ttdeci">QColor getSelectedColor() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00341">subdivsurface.h:341</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a17ba0378bfd4a39b4d96d914332c26e4"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a17ba0378bfd4a39b4d96d914332c26e4">ShipCAD::Spline::setCurvatureScale</a></div><div class="ttdeci">void setCurvatureScale(float val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00141">spline.h:141</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a02967f3eee8b1755eab0d7da55c3c621"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a02967f3eee8b1755eab0d7da55c3c621">ShipCAD::Spline::clear</a></div><div class="ttdeci">virtual void clear()</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00790">spline.cpp:790</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a5ed850eb8b536f4f534adca1c9a3aca0"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a5ed850eb8b536f4f534adca1c9a3aca0">ShipCAD::SubdivisionControlCurve::isVisible</a></div><div class="ttdeci">bool isVisible() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00118">subdivcontrolcurve.cpp:118</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a796ee3dc45dd6d25ce8a58e65048c947"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a796ee3dc45dd6d25ce8a58e65048c947">ShipCAD::SubdivisionSurface::getControlCurveColor</a></div><div class="ttdeci">QColor getControlCurveColor() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00350">subdivsurface.h:350</a></div></div>
<div class="ttc" id="classShipCAD_1_1Plane_html"><div class="ttname"><a href="classShipCAD_1_1Plane.html">ShipCAD::Plane</a></div><div class="ttdef"><b>Definition:</b> <a href="plane_8h_source.html#l00039">plane.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a34e280e9ba6e6705577d1afd229e9f20"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a34e280e9ba6e6705577d1afd229e9f20">ShipCAD::SubdivisionControlCurve::resetDivPoints</a></div><div class="ttdeci">void resetDivPoints()</div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00098">subdivcontrolcurve.cpp:98</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_adfdeabdc19eb55a7ba4ab0b607207300"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#adfdeabdc19eb55a7ba4ab0b607207300">ShipCAD::SubdivisionSurface::edgeExists</a></div><div class="ttdeci">SubdivisionEdge * edgeExists(SubdivisionPoint *p1, SubdivisionPoint *p2)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l02603">subdivsurface.cpp:2603</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a5cd4b62dd61e279f77dc39fd3798c46d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a5cd4b62dd61e279f77dc39fd3798c46d">ShipCAD::SubdivisionSurface::getMainframeLocation</a></div><div class="ttdeci">float getMainframeLocation() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00316">subdivsurface.h:316</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a71607715751aa734da85315f697c29ce"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a71607715751aa734da85315f697c29ce">ShipCAD::SubdivisionSurface::getCurvatureScale</a></div><div class="ttdeci">float getCurvatureScale() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00308">subdivsurface.h:308</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a2b6fa67f7463838ab2ee9d7b8381a9c5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a2b6fa67f7463838ab2ee9d7b8381a9c5">ShipCAD::Spline::showCurvature</a></div><div class="ttdeci">bool showCurvature() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00131">spline.h:131</a></div></div>
<div class="ttc" id="namespaceShipCAD_html"><div class="ttname"><a href="namespaceShipCAD.html">ShipCAD</a></div><div class="ttdef"><b>Definition:</b> <a href="backgroundimage_8h_source.html#l00039">backgroundimage.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_ae4a8eda1eb14cc85f336aa6b2d10753b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#ae4a8eda1eb14cc85f336aa6b2d10753b">ShipCAD::SubdivisionControlCurve::isSelected</a></div><div class="ttdeci">bool isSelected() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00113">subdivcontrolcurve.cpp:113</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_aa01ccc2ce7417960ca13075e38eb98e6"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#aa01ccc2ce7417960ca13075e38eb98e6">ShipCAD::SubdivisionSurface::addControlCurve</a></div><div class="ttdeci">void addControlCurve(SubdivisionControlCurve *curve)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01573">subdivsurface.cpp:1573</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html"><div class="ttname"><a href="classShipCAD_1_1Spline.html">ShipCAD::Spline</a></div><div class="ttdoc">spline entity used in intersections etc </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00053">spline.h:53</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html">ShipCAD::SubdivisionControlCurve</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8h_source.html#l00056">subdivcontrolcurve.h:56</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html_a285325115089a1b99be4480bf6079bf1"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html#a285325115089a1b99be4480bf6079bf1">ShipCAD::SubdivisionPoint::getCoordinate</a></div><div class="ttdeci">QVector3D getCoordinate() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00140">subdivpoint.h:140</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ada8dd726a502187bf0e35022576395d3"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ada8dd726a502187bf0e35022576395d3">ShipCAD::Spline::intersect_plane</a></div><div class="ttdeci">bool intersect_plane(const Plane &amp;plane, IntersectionData &amp;output) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00666">spline.cpp:666</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html">ShipCAD::SubdivisionPoint</a></div><div class="ttdoc">3D Point </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00059">subdivpoint.h:59</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html_a800e0d38d3cdbdc6a38aa989b5fdb3ff"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html#a800e0d38d3cdbdc6a38aa989b5fdb3ff">ShipCAD::SubdivisionControlCurve::getColor</a></div><div class="ttdeci">QColor getColor() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8cpp_source.html#l00106">subdivcontrolcurve.cpp:106</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html">ShipCAD::SubdivisionSurface</a></div><div class="ttdoc">Subdivision Surface. </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00103">subdivsurface.h:103</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_aa65e2e10929c52fd05b6bb90317977dc"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#aa65e2e10929c52fd05b6bb90317977dc">ShipCAD::SubdivisionEdge::endPoint</a></div><div class="ttdeci">SubdivisionPoint * endPoint() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00076">subdivedge.h:76</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a6a89be4440e3adfcb0b14c164db891ae"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a6a89be4440e3adfcb0b14c164db891ae">ShipCAD::SubdivisionSurface::controlEdgeExists</a></div><div class="ttdeci">SubdivisionControlEdge * controlEdgeExists(SubdivisionPoint *p1, SubdivisionPoint *p2)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l02628">subdivsurface.cpp:2628</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a5e0e5f174d287e807b5409b1aa5704bc"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a5e0e5f174d287e807b5409b1aa5704bc">ShipCAD::Entity::setColor</a></div><div class="ttdeci">void setColor(const QColor &amp;col)</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00082">entity.h:82</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a1666628c8232ba11d386641fa7980ed7"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a1666628c8232ba11d386641fa7980ed7">ShipCAD::SubdivisionSurface::removeSelectedControlCurve</a></div><div class="ttdeci">void removeSelectedControlCurve(SubdivisionControlCurve *curve)</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8cpp_source.html#l01312">subdivsurface.cpp:1312</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a34a553e1f50b7eb97a5380c817f0efb6"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a34a553e1f50b7eb97a5380c817f0efb6">ShipCAD::SubdivisionSurface::showControlNet</a></div><div class="ttdeci">bool showControlNet() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00326">subdivsurface.h:326</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
